local zhuoben = fk.CreateSkill {
  name = "th_zhuoben",
  tags = { Skill.Compulsory },
}

zhuoben:addEffect(fk.TargetSpecified, {
  anim_type = "offensive",
  can_trigger = function(self, event, target, player, data)
    if target == player and player:hasSkill(zhuoben.name) and data.firstTarget and
    data.card and data.card.trueName == "slash" and data:isOnlyTarget(data.to) and
    (player == data.from) then
      local other = data.to
      return other and other ~= player and not (other:isNude() and player:isNude())
    end
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    local other = data.to
    if not player:isNude() then
      room:throwCard(room:askToChooseCard(player, { target = player, flag = "he", skill_name = zhuoben.name }), zhuoben.name, player, player)
    end
    if not other:isNude() then
      room:throwCard(room:askToChooseCard(player, { target = other, flag = "he", skill_name = zhuoben.name }), zhuoben.name, other, player)
    end
  end,
})

Fk:loadTranslationTable{
  ["th_zhuoben"] = "拙笨",
  [":th_zhuoben"] = "锁定技，你使用【杀】指定其他角色为唯一目标后，你弃置你与其各一张牌。",
}

return zhuoben